/********************************************************************
* Copyright (c) 2013,TGS,All rights reserved.
* fileName:	ScaleItem.h	
* created:	2013/07/22 9:36

* version:	1.6
* detail: 
*********************************************************************/

#pragma once

#include <QGraphicsItem>

namespace TGS{
namespace MapControl{

class Map;

class ScaleItem : public QGraphicsRectItem
{
public:
	ScaleItem(Map* map);
	~ScaleItem(void);
public:
	virtual void paint( QPainter* painter, const QStyleOptionGraphicsItem*, QWidget* );
private:
	Map*	_map;
};

}//MapControl
}//TGS
